﻿using System.ComponentModel.DataAnnotations;
using FrameWork.Entity;

namespace AnQinFrameWorkAPI.Entity.SystemCore.DTO.RoleButton;

/// <summary>
///     角色按钮表搜索模型
/// </summary>
public class RoleButtonSearchDTO : PageResultModel
{
    /// <summary>
    ///     角色id
    /// </summary>
    [Required(ErrorMessage = "角色id不可为空")]
    public string RoleId { get; set; }

    /// <summary>
    ///     菜单id
    /// </summary>
    [Required(ErrorMessage = "菜单id不可为空")]
    public string MenuId { get; set; }
}